import Layout from '@/layout'

export default {
  path: '/manage',
  redirect: '/manage/person',
  component: Layout,
  name: 'Manage',
  meta: { title: '管理员', icon: 'el-icon-s-management' },
  children: [
    {
      path: 'person',
      name: 'PManage',
      component: () => import('@/views/pmanage/index'),
      meta: { title: '管理用户', icon: 'el-icon-s-custom' }
    },
    {
      path: 'book',
      name: 'BManage',
      component: () => import('@/views/bmanage/index'),
      meta: { title: '管理图书', icon: 'el-icon-notebook-2' }
    }
  ]
}
